<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<button onclick = "test()">test</button>
</body>
<script src="/epi/assets/js/jquery-3.1.1.min.js"></script>
<script type="text/javascript">
	function test() {
		var outsources = [
				{
					"type" : "aaa",
					"money" : "100.234"
				},
				{
					"type" : "bbb",
					"money" : "132.234"
				}];
		$.ajax({
			url : "/epi/finance/1",
			type : "POST",
			dataType : 'json',
			traditional : true,
			data : {
				outsources : JSON.stringify(outsources),
				_method : "PUT"
			},
			success : function(data) {
				console.log(JSON.stringify(data));

			},
			error : function() {
			}
		});
	}
</script>

</html>